package org.example.iocdemo.ioc.v2;

/**
 * Created with IntelliJ IDEA.
 * Description:做渐进主义的改良派,不做完没注意的速成派
 * User: XALEXC
 * Date: 2024-10-26
 * Time: 12:43
 */
public class Main {
    public static void main(String[] args) {
        Tire tire=new Tire(19,"red");
        Bottom bottom=new Bottom(tire);
        Framework framework=new Framework(bottom);
        Car car=new Car(framework);
        car.run();
    }
}
